﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Medianamik.Core.DAL
{
    public interface IGenDALProvider
    {
        /// <summary>
        /// Insère ou met à jour la table générée avec le Noeud
        /// </summary>
        /// <param name="node"></param>
        void UpdateGenRecord(Guid pNodeId, string pCultureName, int? pRevision);
        void DeleteGenRecord(Guid pNodeId, string pCultureName);
        void UpdateGenRecordPosition(Guid pNodeId, int pPosition);

        void AddGenColumn(Guid pNodeTypePropertyId);
        void RemoveGenColumn(Guid pNodeTypePropertyId);
        void DeleteGenTable(Guid pNodeTypeId);
        void DeleteAllGenTables();

        void GenerateType(NodeType pType);

        bool CheckGenTableExists(NodeType pType);


        

    }
}
